#include "thread_pool.h"

int epoll_add(int epfd,int fd){
    struct epoll_event ev;
    ev.events=EPOLLIN;
    ev.data.fd=fd;
    epoll_ctl(epfd,EPOLL_CTL_ADD,fd,&ev);
    return 0;
}
int epll_del(int epfd,int fd){
    epoll_ctl(epfd,EPOLL_CTL_DEL,fd,NULL);
    return 0;
}
